package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.market;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class GoodsListResponse extends SecurityResponse<GoodsListResponse.Body> {

	private static final long serialVersionUID = 1L;

	public GoodsListResponse() {
		this.body = new Body();
	}

	public GoodsListResponse(Integer code,String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private Integer page;
		private List<Item> items;

		public Integer getPage() {
			return page;
		}

		public void setPage(Integer page) {
			this.page = page;
		}

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}
	
	public static class Item implements Serializable {
		
		private static final long serialVersionUID = 1L;
		
		private Long id;
		private String name;
		private String thumbnailImg;
		private String labels;
		private String payMoneyStr;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getThumbnailImg() {
			return thumbnailImg;
		}

		public void setThumbnailImg(String thumbnailImg) {
			this.thumbnailImg = thumbnailImg;
		}

		public String getLabels() {
			return labels;
		}

		public void setLabels(String labels) {
			this.labels = labels;
		}

		public String getPayMoneyStr() {
			return payMoneyStr;
		}

		public void setPayMoneyStr(String payMoneyStr) {
			this.payMoneyStr = payMoneyStr;
		}
	}
}
